		<span class="amenu-left">
			<span class="amenu-right">
				<span class="menu-center places">
				     <?php echo __l('Affiliates'); ?>
				</span>
			</span>
		</span>
		<div class="admin-sub-block">
		<div class="l-curve-top l-curve-top-in">
					<div class="r-curve-top r-curve-top-in">
						<div class="top-bg top-bg-in"></div>
					</div>
				</div>
               <div class="shad-bg-lft shad-bg-lft-in">
					<div class="shad-bg-rgt shad-bg-rgt-in">
						<div class="shad-bg clearfix">
						<ul>
							<li>
<h4><?php echo __l('Affiliates');?></h4>
<ul class="admin-sub-links">
<?php $class = ($this->request->params['controller'] == 'affiliates') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Affiliates'), array('controller' => 'affiliates', 'action' => 'index','filter_id' => ConstAffiliateStatus::Pending),array('title' => __l('Affiliates'))); ?></li>
<?php $class = ($this->request->params['controller'] == 'affiliate_requests') ? ' class="active"' : null; ?>        
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Requests'), array('controller' => 'affiliate_requests', 'action' => 'index'),array('title' => __l('Requests'))); ?></li>

<?php $class = ($this->request->params['controller'] == 'affiliate_cash_withdrawals') ? ' class="active"' : null; ?>
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Withdraw Fund Requests'), array('controller' => 'affiliate_cash_withdrawals', 'action' => 'index'),array('title' => __l('Withdraw Fund Requests'))); ?></li>

<?php $class = ($this->request->params['controller'] == 'settings') ? ' class="active"' : null; ?>        
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Common Settings'), array('controller' => 'settings', 'action' => 'edit', 21),array('title' => __l('Common Settings'))); ?></li>
<?php $class = ($this->request->params['controller'] == 'affiliate_types') ? ' class="active"' : null; ?>                
		<li <?php echo $class;?>><?php echo $this->Html->link(__l('Commission Settings'), array('controller' => 'affiliate_types', 'action' => 'edit'),array('title' => __l('Commission Settings'))); ?></li>                                 
</ul>
							</li>
						</ul>
					</div>
				</div>
			</div>
            <div class="l-curve-bot l-curve-bot-in">
					<div class="r-curve-bot r-curve-bot-in">
						<div class="bot-bg bot-bg-in"></div>
					</div>
		</div>
		</div>
